package scjp.pruebas;

import java.util.HashMap;
import java.util.NavigableMap;

public class Ques01 {

public static void main(String[] args) {
		
		NavigableMap<String, String> colors = new HashMap<String, String>();
		
		colors.put("RED", "Red");
		colors.put("BLUE", "Blue");
		System.out.println(colors.get("BLUE"));
		
		String test = "This is a test string";
		String[] tokens = test.split("\\s");
		System.out.println(tokens.length);  
	}
}
